// InstallUtils.h : main header file for the InstallUtils DLL
//

#pragma once

#ifdef INSTALL_UTILS_EXPORTS
#define INSTALL_UTILS_API __declspec(dllexport)
#else
#define INSTALL_UTILS_API __declspec(dllimport)
#endif

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols


// CInstallUtilsApp
// See InstallUtils.cpp for the implementation of this class
//

class CInstallUtilsApp : public CWinApp
{
public:
	CInstallUtilsApp();

// Overrides
public:
	virtual BOOL InitInstance();

	DECLARE_MESSAGE_MAP()
public:
    UINT mPluginServiceUninstall(MSIHANDLE hInstall);
    MSIHANDLE m_hInstallDB;
    CString m_sCopyRightDates;
    CString m_sVersionHTMLString;
    int m_nRetCode;
    CString m_sModuleFileName;
    virtual int ExitInstance();
    ULONGLONG m_qwFileVersion;
    bool m_bRebootNeed;
    HMODULE m_hDllModule;
};

// The one and only CInstallUtilsApp object
extern CInstallUtilsApp theApp;

extern "C" INSTALL_UTILS_API UINT __stdcall  PluginServiceUninstall(MSIHANDLE hInstall);
